package com.lzs.DAO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzs.PO.RuralCmsOffice;

public interface RuralCmsOfficeDAO {

	public List<RuralCmsOffice> findOffices();

	public RuralCmsOffice findRuralCmsOfficeById(@Param("office_id") String office_id);

	public List<RuralCmsOffice> findRuralCmsOfficeList(@Param("keyword") String keyword);

	public List<RuralCmsOffice> findRuralCmsOfficePageList(@Param("keyword") String keyword,
			@Param("startIndex") int startIndex, @Param("pageSize")Integer pageSize);

	public long countRuralCmsOfficeByName(@Param("office_name")String office_name);

	public void addRuralCmsOffice(Map<String, Object> map);

	public void updateRuralCmsOffice(Map<String, Object> map);

	public void deleteRuralCmsOffice(@Param("office_id")String office_id);

}
